import Vue from "vue";
import App from "./App.vue";
import router from "./router/index.js";
import store from "./store";

Vue.config.productionTip = false;

import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);
//在全局引入vant 的所有组件

import axios from "axios";
axios.defaults.baseURL = "http://www.liulongbin.top:3005";
//定义基本路径，之后发送请求的时候会自动拼接这个路径
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
